package org.acsis.covoiturage.frontend.application;



import org.acsis.covoiturage.services.Service;

import com.google.inject.Injector;

public class SVC {
	
	private static Injector inj;
	
	public static void setInjector(Injector injector){
		inj = injector;
	}

	public static <T extends Service> T create(Class<T> clazz){
		return (T) inj.getInstance(clazz);
	}
}
